package com.wei.czz.framework.blog.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

import com.wei.czz.common.tool.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wei
 * date: 2021-03-15 10:29:48
 * className: SpaceEntity 用户博客空间表实体类
 * version: 1.0
 * description:
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("b_space")
public class SpaceEntity extends BaseEntity {


	/**
	 * 空间id
	 * 主键类型：雪花主键
	 */
	@TableId
	private Long spaceId;

	/**
	 * 空间所属用户id
	 */
	private Long userId;

	/**
	 * 空间名称
	 */
	private String name;

	/**
	 * 排序等级
	 */
	private Integer sort;

	/**
	 * 创建时间
	 */
	private Date updateTime;

	/**
	 * 创建时间
	 */
	private Date createTime;
}
